package com.hrpmar.utils;

/**
 * Created by c on 2017-11-16.
 */
public class genNumUtil {

    public static String getNum(String oldNum){
        StringBuffer newNum= new StringBuffer();
        newNum.append(oldNum.substring(0,2));
        Integer num = Integer.parseInt(oldNum.substring(2,oldNum.length()));
        num++;
        newNum.append(num);
        return newNum.toString();
    }

}
